home *** CD-ROM | disk | FTP | other *** search
- Path: howland.reston.ans.net!swrinde!gatech!usceast!sridhar
- From: sridhar@cs.sc.edu (M. A. Sridhar)
- Newsgroups: comp.lang.c++
- Subject: Re: publicly avail class for X11?
- Date: 17 Apr 1996 13:35:32 GMT
- Organization: University of South Carolina - Columbia - Computer Science
- Message-ID: <4l2s34$95k@redwood.cs.sc.edu>
- References: <317284B4.519A@dal.ca>
- NNTP-Posting-Host: poplar.cs.sc.edu
- X-Newsreader: NN version 6.5.0 (NOV)
-
- Dan Kelley <d.kelley@dal.ca> writes:
-
- >Hi folks. Is there a freely available class designed to let me draw on an X11
- >display without going through dozens of low-level commands?
-
- >Ideally it would have capabilities like:
- > Screen s;
- > s.initialize(); // actually create the window
- > s.draw("hello world", 10, 10); // draw text indicated location
- > s.draw(10, 10, 100, 100); // draw diagonal line
- >and so forth, with optional things like
- > s.window_name("foo bar"); // optional, defaults to ""
- > s.size(500, 500); // optional, defaults to 300x300
- > s.select_font(Helvetica); // select named font
- >and so forth, along with various callback registry routines.
-
- >For folks like me (a scientist, not a programmer) who only occasionally use X11, this
- >would be a useful class to have available.
-
- >Since this seems relatively straightforward for X11 geniuses, I'm wondering whether
- >it exists already. I imagine another advantage would be that it could isolate code
- >for X11 and other platforms, so that scientists like me could easily create crude
- >interfaces if only for output) on various platforms.
-
- Check out YACL. You can get information about it from the URL
- http://www.cs.sc.edu/~sridhar/yacl.html, and you can get it by anonymous ftp
- from ftp.cs.sc.edu in the directory pub/yacl.
-
- Sridhar
- >Thanks in advance to any who have advice.
-
- >--
- >Dan E. Kelley internet: mailto:Dan.Kelley@Dal.CA
- >Oceanography Department phone: (902)494-1694
- >Dalhousie University fax: (902)494-2885
- >Halifax, NS, CANADA, B3H 4J1 WWW: http://www.phys.ocean.dal.ca/~kelley
- --
- M. A. Sridhar | sridhar@usceast.cs.sc.edu (Internet)
- Department of Computer Science | http://www.cs.sc.edu/~sridhar/
- University of South Carolina | (803) 777-3767 (Fax)
- Columbia, SC 29208 | (803) 777-2427 (Ma Bell)
- --
- M. A. Sridhar | sridhar@usceast.cs.sc.edu (Internet)
- Department of Computer Science | http://www.cs.sc.edu/~sridhar/
- University of South Carolina | (803) 777-3767 (Fax)
- Columbia, SC 29208 | (803) 777-2427 (Ma Bell)
-